<template>
  <div class="huanxing-logo">
    <div class="title">{{!isCollapse ? 'HuanXing快速开发框架' :'HX'}}</div>
    <!-- <transition v-if="isCollapse">
      <span class="huanxing-logo-img">HX</span>
    </transition>-->
  </div>
</template>
<script >
import { defineComponent, computed } from 'vue'
import { mapGetters, useStore } from 'vuex'
export default defineComponent({
  setup() {
    const store = useStore()
    //全部标签导航
    const isCollapse = computed(
      mapGetters(['isCollapse']).isCollapse.bind({ $store: store })
    )
    return {
      isCollapse,
    }
  },
})
</script>